Skip to content

Conversation

ThomasK33
Copy link
Member

Added Shift+Enter shortcut for new line in terminal

This PR adds a keyboard shortcut (Shift+Enter) in the terminal that inserts a backslash followed by a newline, making it easier to continue commands on a new line. The change also improves type annotations for better code documentation, specifically updating the return type annotation to snacks.terminal.Opts and the snacks_win_opts type to snacks.win.Config.

@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_Shift_Enter_keybinding_for_new_line_in_terminal branch from 683498d to f756826 Compare August 8, 2025 11:36
@ThomasK33 ThomasK33 linked an issue Aug 8, 2025 that may be closed by this pull request
@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_Shift_Enter_keybinding_for_new_line_in_terminal branch from f756826 to 81582b3 Compare August 8, 2025 14:18
@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_PartialClaudeCodeConfig_type_for_better_configuration_handling branch 2 times, most recently from 4ccf295 to cc09df9 Compare August 8, 2025 19:34
@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_Shift_Enter_keybinding_for_new_line_in_terminal branch 2 times, most recently from 5acc233 to 85ff96b Compare August 10, 2025 16:22
@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_PartialClaudeCodeConfig_type_for_better_configuration_handling branch from cc09df9 to 696920c Compare August 10, 2025 16:22
@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_Shift_Enter_keybinding_for_new_line_in_terminal branch from 85ff96b to f6e7c5b Compare September 3, 2025 15:16
@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_PartialClaudeCodeConfig_type_for_better_configuration_handling branch from 696920c to efeff6f Compare September 3, 2025 15:16
Copy link
Member Author

ThomasK33 commented Sep 10, 2025

Merge activity

  • Sep 10, 3:36 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Sep 10, 3:42 PM UTC: Graphite rebased this pull request as part of a merge.
  • Sep 10, 3:42 PM UTC: @ThomasK33 merged this pull request with Graphite.

@ThomasK33 ThomasK33 changed the base branch from thomask33/feat_add_PartialClaudeCodeConfig_type_for_better_configuration_handling to graphite-base/116 September 10, 2025 15:39
@ThomasK33 ThomasK33 changed the base branch from graphite-base/116 to main September 10, 2025 15:40
Change-Id: I9a5eee55b87db158dbf93266ef809ca10216b070
Signed-off-by: Thomas Kosiewski <tk@coder.com>

Co-authored-by: alex35mil <4244251+alex35mil@users.noreply.github.com>
@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_Shift_Enter_keybinding_for_new_line_in_terminal branch from f6e7c5b to 854d1a3 Compare September 10, 2025 15:41
@ThomasK33 ThomasK33 merged commit 0356103 into main Sep 10, 2025
1 of 3 checks passed
@ThomasK33 ThomasK33 deleted the thomask33/feat_add_Shift_Enter_keybinding_for_new_line_in_terminal branch September 12, 2025 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] shift + Enter do not create new lines with snacks provider
1 participant